Smush\Core\Transform\Transformer S

Total Complexity 47
Dependencies 4
Dependents 3
Total lines 227
Lines of code 139
Logical lines of code 73
Comment lines 46
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
transform_content()
A
51 10 27
transform_rest_content_field()
S
55 5 21
transform_rest_media_response()
S
59 5 14
transform_rest_response()
S
60 4 13
is_array_post_like()
S
70 4 6
prepare_transforms()
S
63 4 10
transform_single_rest_item()
S
63 3 10
transform_rest_content_fields()
S
66 3 9
transform_url()
S
71 2 6
get_transforms()
S
72 2 6
__construct()
S
80 1 3
parse_page()
S
75 1 4
get_rest_content_fields()
S
75 1 4
do_pre_transform_action()
S
80 1 3
do_post_transform_action()
S
80 1 3